876df2de40fb5872041807b39e84a782c469da35,platform/platform-impl/src/com/intellij/ide/ui/laf/intellij/MacIntelliJComboBoxUI.java,MacIntelliJComboBoxUI,paint,#Graphics#JComponent#,256
Before Change
public void paint(Graphics g, JComponent c) {
Rectangle r = arrowButton.getBounds();
int stop = r.x;
g.setClip(0,0, stop, COMBOBOX.getIconHeight());
boolean enabled = c.isEnabled();
Icon icon = enabled ? COMBOBOX_LEFT : COMBOBOX_LEFT_DISABLED;
icon.paintIcon(c,g,0,r.y);
After Change
Rectangle r = arrowButton.getBounds();
int stop = r.x;
Insets clip = getInsets();
Graphics gg = g.create(clip.left, r.y, stop - clip.left, COMBOBOX.getIconHeight());
boolean enabled = c.isEnabled();
boolean hasFocus = c.hasFocus();
Icon icon = enabled ? hasFocus ? COMBOBOX_LEFT_FOCUSED : COMBOBOX_LEFT : COMBOBOX_LEFT_DISABLED;